﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master pages/MasterPage.Master" AutoEventWireup="true" CodeBehind="AMGrilla.aspx.cs" Inherits="Presentación.AMGrilla" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Estilos/GridView.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1 {
            font-size: large;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <p>
        Nombre de la Grilla:
        <asp:TextBox ID="NombreGrillaTextBox" runat="server" CssClass="auto-style1"></asp:TextBox>
    </p>
    
    <p>
        Imagen:
        <asp:FileUpload ID="CargarImagenFileUpload" runat="server" CssClass="auto-style1" />
    </p>
    
    <p>
        Palabra: 
        <asp:TextBox ID="AgregarPalabraTextBox" runat="server" CssClass="auto-style1"></asp:TextBox>
        &nbsp;Referencia:
        <asp:TextBox ID="AgregarReferenciaTextBox" runat="server" Width="427px" CssClass="auto-style1"></asp:TextBox>
        <asp:Button ID="AgregarPalabraButton" runat="server" Text="Agregar" OnClick="AgregarPalabraButton_Click" CssClass="auto-style1" />
    </p>

    <p>
        <asp:GridView ID="PalabrasGridView" runat="server" AutoGenerateColumns="false" CssClass="mGrid" AlternatingRowStyle-CssClass="alt">
            <Columns>
                <asp:BoundField HeaderText="Palabra" DataField="Palabra" />
                <asp:BoundField HeaderText="Referencia" DataField="Referencia" />
            </Columns>
        </asp:GridView>
    </p>

    <p>
        <asp:Button ID="GuardarGrillaButton" runat="server" Text="Guardar" OnClick="GuardarGrillaButton_Click" style="font-size: large" />
    </p>
</asp:Content>
